package com.lht.testDemo.binary;

/**
 * @author Eric
 * @version 1.0
 * @date 2019-12-06
 */
public class Test {

    @org.junit.Test
    public void showFloatBinary() {
        double d = 1.2;
        long i = Double.doubleToLongBits(d);
        System.out.println(Long.toBinaryString(i));
    }
}
